package com.stylefeng.guns.common.persistence.model;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author stylefeng
 * @since 2018-10-22
 */
@TableName("collect_complain")
public class CollectComplain extends Model<CollectComplain> {

    private static final long serialVersionUID = 1L;

    /**
     * 投诉id
     */
	@TableId(value="id", type= IdType.AUTO)
	private Long id;
    /**
     * 机构id
     */
	@TableField("info_id")
	private String infoId;
    /**
     * 用户id
     */
	@TableField("user_id")
	private String userId;
    /**
     * 课程id
     */
	@TableField("class_id")
	private Integer classId;
    /**
     * 教师id
     */
	@TableField("teacher_id")
	private Integer teacherId;
    /**
     * 创建时间
     */
	@TableField("create_time")
	private Date createTime;
    /**
     * 投诉原因
     */
	@TableField("complain_reason")
	private String complainReason;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getInfoId() {
		return infoId;
	}

	public void setInfoId(String infoId) {
		this.infoId = infoId;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public Integer getClassId() {
		return classId;
	}

	public void setClassId(Integer classId) {
		this.classId = classId;
	}

	public Integer getTeacherId() {
		return teacherId;
	}

	public void setTeacherId(Integer teacherId) {
		this.teacherId = teacherId;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getComplainReason() {
		return complainReason;
	}

	public void setComplainReason(String complainReason) {
		this.complainReason = complainReason;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

}
